﻿using System;


namespace KingerRobot.MexicoSailunMDC.SpiService;

internal interface IMesAsrsCuringNormFMes
{
    /// <summary>
    /// 新增或修改mes胎胚规格消耗量
    /// </summary>
    /// <param name="curingNorm"></param>
    /// <returns></returns>
    int AddOrUpdateCuringNorm(POMesAsrsCuringNormFMes curingNorm);
    /// <summary>
    /// 删除所有mes胎胚规格消耗量老数据
    /// </summary>
    /// <param name="status"></param>
    /// <returns></returns>
    int DeleteMesCuringNormByStatus(int status);
    /// <summary>
    /// 修改mes胎胚规格消耗量状态
    /// </summary>
    /// <param name="status"></param>
    /// <returns></returns>
    int UpdateMesCuringNormByStatus(int status);

    POMesAsrsCuringNormFMes GetCuringNormByMaterialCode(string MaterialCode);
}

